Skip to content

Fixed Docs bug (React Native SDK): wallet is used instead of smartWalletPubkey #3

Open
xavierScript wants to merge 1 commit intolazor-kit:mainfrom
xavierScript:fix-docs-error
Open

Fixed Docs bug (React Native SDK): wallet is used instead of smartWalletPubkey #3
xavierScript wants to merge 1 commit intolazor-kit:mainfrom
xavierScript:fix-docs-error

Conversation

@xavierScript
Copy link

Hi LazorKit team 👋
There’s an inconsistency in the React Native SDK docs.

The examples use wallet from useWallet():

const { connect, isConnected, wallet } = useWallet();
and later:

fromPubkey: new PublicKey(wallet.smartWallet)
However, the actual hook exposes smartWalletPubkey, not wallet.
Using the docs as-is results in undefined and transaction errors.

Kindly give this a look. Thanks! 🙏

@vercel
Copy link
Contributor

vercel bot commented Dec 28, 2025

@xavierScript is attempting to deploy a commit to the chauanhtuan185's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant